package com.java83.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Employee)实体类
 *
 * @author xxx
 * @since 2021-12-14 11:49:09
 */
public class Employee implements Serializable {
    private static final long serialVersionUID = 948937487926491836L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 工号
     */
    private String eid;
    /**
     * 名字
     */
    private String name;
    /**
     * 出生日期
     */
    private Date birth;
    /**
     * 性别
     */
    private String sex;
    /**
     * 证件类型
     */
    private String redentialType;
    /**
     * 证件号码
     */
    private String cardId;
    /**
     * 所属部门
     */
    private Integer dep;
    /**
     * 员工职位
     */
    private Integer plevel;
    /**
     * 入职日期
     */
    private Date addTime;
    /**
     * 在职状态
     */
    private String workingState;
    /**
     * 创建日期
     */
    private Date createtime;
    /**
     * 更新日期
     */
    private Date updatetime;
    /**
     * 创建者
     */
    private String createOperator;
    /**
     * 更新者
     */
    private String updateOperator;
    /**
     * 合同
     */
    private String contract;

    public Employee() { }

    public Employee(Integer id, String eid, String name, Date birth, String sex, String redentialType, String cardId, Integer dep, Integer plevel, Date addTime, String workingState, Date createtime, Date updatetime, String createOperator, String updateOperator, String contract) {
        this.id = id;
        this.eid = eid;
        this.name = name;
        this.birth = birth;
        this.sex = sex;
        this.redentialType = redentialType;
        this.cardId = cardId;
        this.dep = dep;
        this.plevel = plevel;
        this.addTime = addTime;
        this.workingState = workingState;
        this.createtime = createtime;
        this.updatetime = updatetime;
        this.createOperator = createOperator;
        this.updateOperator = updateOperator;
        this.contract = contract;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRedentialType() {
        return redentialType;
    }

    public void setRedentialType(String redentialType) {
        this.redentialType = redentialType;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public Integer getDep() {
        return dep;
    }

    public void setDep(Integer dep) {
        this.dep = dep;
    }

    public Integer getPlevel() {
        return plevel;
    }

    public void setPlevel(Integer plevel) {
        this.plevel = plevel;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getWorkingState() {
        return workingState;
    }

    public void setWorkingState(String workingState) {
        this.workingState = workingState;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getCreateOperator() {
        return createOperator;
    }

    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }

    public String getUpdateOperator() {
        return updateOperator;
    }

    public void setUpdateOperator(String updateOperator) {
        this.updateOperator = updateOperator;
    }

    public String getContract() {
        return contract;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }


    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", eid='" + eid + '\'' +
                ", name='" + name + '\'' +
                ", birth=" + birth +
                ", sex='" + sex + '\'' +
                ", redentialType='" + redentialType + '\'' +
                ", cardId='" + cardId + '\'' +
                ", dep=" + dep +
                ", plevel=" + plevel +
                ", addTime=" + addTime +
                ", workingState='" + workingState + '\'' +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", createOperator='" + createOperator + '\'' +
                ", updateOperator='" + updateOperator + '\'' +
                ", contract='" + contract + '\'' +
                '}';
    }
}
